"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const ee_core_1 = require("ee-core");
const lifecycle_1 = require("./preload/lifecycle");
const preload_1 = require("./preload");
require("./preload/menu");
// New app
const app = new ee_core_1.ElectronEgg();
// Register lifecycle
const life = new lifecycle_1.Lifecycle();
app.register('ready', life.ready);
app.register('electron-app-ready', life.electronAppReady);
app.register('window-ready', life.windowReady);
app.register('before-close', life.beforeClose);
// Register preload
app.register('preload', preload_1.preload);
// Run
app.run();
